92 93 // Create a new instance of the controller
94 $controller = $class->newInstance($request, $response);
95 96 // Run the controller's execute() method
97 $response = $class->getMethod('execute')->invoke($controller);
98 99 if ( ! $response instanceof Response)
100 {
101 // Controller failed to return a Response.
102 throw new Kohana_Exception('Controller failed to return a Response');
981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
982 ':uri' => $this->_uri,
983 ));
984 }
985986 return $this->_client->execute($this);
987 }
988989 /**
990 * Returns whether this request is the initial request Kohana received.
991 * Can be used to test for sub requests.
343 {
344 throw new View_Exception('You must set the file to use within your view before rendering');
345 }
346347 // Combine local and global data and capture the output
348 return View::capture($this->_file, $this->_data);
349 }
350351 }
343 {
344 throw new View_Exception('You must set the file to use within your view before rendering');
345 }
346347 // Combine local and global data and capture the output
348 return View::capture($this->_file, $this->_data);
349 }
350351 }
92 93 // Create a new instance of the controller
94 $controller = $class->newInstance($request, $response);
95 96 // Run the controller's execute() method
97 $response = $class->getMethod('execute')->invoke($controller);
98 99 if ( ! $response instanceof Response)
100 {
101 // Controller failed to return a Response.
102 throw new Kohana_Exception('Controller failed to return a Response');
981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
982 ':uri' => $this->_uri,
983 ));
984 }
985986 return $this->_client->execute($this);
987 }
988989 /**
990 * Returns whether this request is the initial request Kohana received.
991 * Can be used to test for sub requests.
113 /**
114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
115 * If no source is specified, the URI will be automatically detected.
116 */
117 echo Request::factory(TRUE, array(), FALSE)
118 ->execute()
119 ->send_headers(TRUE)
120 ->body();
121 }
HTTP_Exception_500 [ 500 ]:
APPPATH/classes/Controller/Data/Comment.php [ 80 ]
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Data_Comment->action_get_recipe_comments()
{PHP internal call} » Kohana_Controller->execute()
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
01SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)
0APPPATH/views/page/recipe.php [ 675 ] » Kohana_Request->execute()
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0string(67) "/var/www/jecka/samobranka.info/samobranka_app/views/page/recipe.php"SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0string(67) "/var/www/jecka/samobranka.info/samobranka_app/views/page/recipe.php"1SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()
APPPATH/views/template.php [ 181 ] » Kohana_View->__toString()
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0string(64) "/var/www/jecka/samobranka.info/samobranka_app/views/template.php"SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0string(64) "/var/www/jecka/samobranka.info/samobranka_app/views/template.php"1APPPATH/classes/Controller/Template.php [ 39 ] » Kohana_View->render()
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Template->after()
{PHP internal call} » Kohana_Controller->execute()
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
01SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)
0APPPATH/public_html/index.php [ 118 ] » Kohana_Request->execute()
Environment
Included files (156)
APPPATH/public_html/index.phpAPPPATH/bootstrap.phpSYSPATH/classes/Kohana/Core.phpSYSPATH/classes/Kohana.phpSYSPATH/classes/I18n.phpSYSPATH/classes/Kohana/I18n.phpSYSPATH/classes/HTTP.phpSYSPATH/classes/Kohana/HTTP.phpSYSPATH/classes/Kohana/Exception.phpSYSPATH/classes/Kohana/Kohana/Exception.phpSYSPATH/classes/Log.phpSYSPATH/classes/Kohana/Log.phpSYSPATH/classes/Config.phpSYSPATH/classes/Kohana/Config.phpSYSPATH/classes/Log/File.phpSYSPATH/classes/Kohana/Log/File.phpSYSPATH/classes/Log/Writer.phpSYSPATH/classes/Kohana/Log/Writer.phpSYSPATH/classes/Config/File.phpSYSPATH/classes/Kohana/Config/File.phpSYSPATH/classes/Kohana/Config/File/Reader.phpSYSPATH/classes/Kohana/Config/Reader.phpSYSPATH/classes/Kohana/Config/Source.phpSYSPATH/classes/Cookie.phpSYSPATH/classes/Kohana/Cookie.phpMODPATH/phpmorphy/init.phpMODPATH/phpmorphy/classes/common.phpMODPATH/phpmorphy/classes/fsa/fsa.phpMODPATH/phpmorphy/classes/graminfo/graminfo.phpMODPATH/phpmorphy/classes/morphiers.phpMODPATH/phpmorphy/classes/gramtab.phpMODPATH/phpmorphy/classes/unicode.phpMODPATH/phpmorphy/classes/storage.phpMODPATH/phpmorphy/classes/source.phpMODPATH/phpmorphy/classes/langs_stuff/common.phpMODPATH/captcha/init.phpSYSPATH/classes/Route.phpSYSPATH/classes/Kohana/Route.phpSYSPATH/classes/Request.phpSYSPATH/classes/Kohana/Request.phpSYSPATH/classes/HTTP/Request.phpSYSPATH/classes/Kohana/HTTP/Request.phpSYSPATH/classes/HTTP/Message.phpSYSPATH/classes/Kohana/HTTP/Message.phpSYSPATH/classes/HTTP/Header.phpSYSPATH/classes/Kohana/HTTP/Header.phpSYSPATH/classes/Request/Client/Internal.phpSYSPATH/classes/Kohana/Request/Client/Internal.phpSYSPATH/classes/Request/Client.phpSYSPATH/classes/Kohana/Request/Client.phpAPPPATH/classes/Arr.phpSYSPATH/classes/Kohana/Arr.phpSYSPATH/classes/Response.phpSYSPATH/classes/Kohana/Response.phpSYSPATH/classes/HTTP/Response.phpSYSPATH/classes/Kohana/HTTP/Response.phpSYSPATH/classes/Profiler.phpSYSPATH/classes/Kohana/Profiler.phpAPPPATH/classes/Controller/Recipe.phpAPPPATH/classes/Controller/Page.phpAPPPATH/classes/Controller/Template.phpAPPPATH/classes/Controller/Base.phpSYSPATH/classes/Controller.phpSYSPATH/classes/Kohana/Controller.phpSYSPATH/classes/Session.phpSYSPATH/classes/Kohana/Session.phpSYSPATH/config/session.phpMODPATH/database/config/session.phpAPPPATH/config/session.phpSYSPATH/classes/Config/Group.phpSYSPATH/classes/Kohana/Config/Group.phpSYSPATH/classes/Session/Native.phpSYSPATH/classes/Kohana/Session/Native.phpMODPATH/A2/classes/A2.phpMODPATH/A2/classes/A2/Core.phpMODPATH/ACL/classes/ACL.phpMODPATH/ACL/classes/ACL/Core.phpMODPATH/A2/config/a2.phpAPPPATH/config/a2.phpMODPATH/auth/classes/Auth.phpMODPATH/auth/classes/Kohana/Auth.phpMODPATH/auth/config/auth.phpAPPPATH/config/auth.phpAPPPATH/classes/Auth/ORM.phpMODPATH/orm/classes/Kohana/Auth/ORM.phpMODPATH/ACL/classes/ACL/Assert/Argument.phpMODPATH/ACL/classes/ACL/Assert/Interface.phpSYSPATH/classes/View.phpSYSPATH/classes/Kohana/View.phpAPPPATH/config/page.phpAPPPATH/classes/ORM.phpMODPATH/orm/classes/Kohana/ORM.phpSYSPATH/classes/Model.phpSYSPATH/classes/Kohana/Model.phpAPPPATH/classes/Model/Recipe.phpMODPATH/ACL/classes/ACL/Resource/Interface.phpSYSPATH/classes/Inflector.phpSYSPATH/classes/Kohana/Inflector.phpSYSPATH/config/inflector.phpMODPATH/database/classes/Database.phpMODPATH/database/classes/Kohana/Database.phpMODPATH/database/config/database.phpAPPPATH/config/database.phpMODPATH/database/classes/Database/MySQL.phpMODPATH/database/classes/Kohana/Database/MySQL.phpMODPATH/database/classes/Database/MySQL/Result.phpMODPATH/database/classes/Kohana/Database/MySQL/Result.phpMODPATH/database/classes/Database/Result.phpMODPATH/database/classes/Kohana/Database/Result.phpAPPPATH/classes/Model/Image.phpAPPPATH/classes/Model/Aggregate/Rating.phpMODPATH/database/classes/DB.phpMODPATH/database/classes/Kohana/DB.phpMODPATH/database/classes/Database/Query/Builder/Select.phpMODPATH/database/classes/Kohana/Database/Query/Builder/Select.phpMODPATH/database/classes/Database/Query/Builder/Where.phpMODPATH/database/classes/Kohana/Database/Query/Builder/Where.phpMODPATH/database/classes/Database/Query/Builder.phpMODPATH/database/classes/Kohana/Database/Query/Builder.phpMODPATH/database/classes/Database/Query.phpMODPATH/database/classes/Kohana/Database/Query.phpMODPATH/database/classes/Database/Query/Builder/Join.phpMODPATH/database/classes/Kohana/Database/Query/Builder/Join.phpSYSPATH/classes/Text.phpSYSPATH/classes/Kohana/Text.phpMODPATH/captcha/classes/Captcha.phpMODPATH/captcha/config/captcha.phpAPPPATH/config/captcha.phpMODPATH/captcha/classes/Captcha/Alpha.phpAPPPATH/classes/Comments.phpAPPPATH/classes/Model/Comment.phpAPPPATH/views/template.phpAPPPATH/views/header.phpMODPATH/message/classes/Message.phpMODPATH/message/classes/Kohana/Message.phpAPPPATH/views/page/recipe.phpAPPPATH/classes/HTML.phpSYSPATH/classes/Kohana/HTML.phpSYSPATH/classes/URL.phpSYSPATH/classes/Kohana/URL.phpSYSPATH/classes/UTF8.phpSYSPATH/classes/Kohana/UTF8.phpAPPPATH/classes/Model/Category.phpAPPPATH/classes/Model/Ingredient.phpAPPPATH/classes/Model/Product.phpAPPPATH/classes/Model/Dimension.phpAPPPATH/classes/Model/Cooking/Step.phpAPPPATH/classes/Controller/Data/Comment.phpAPPPATH/classes/Controller/Data.phpSYSPATH/classes/HTTP/Exception/500.phpSYSPATH/classes/Kohana/HTTP/Exception/500.phpSYSPATH/classes/HTTP/Exception.phpSYSPATH/classes/Kohana/HTTP/Exception.phpSYSPATH/views/kohana/error.phpSYSPATH/classes/Debug.phpSYSPATH/classes/Kohana/Debug.phpLoaded extensions (40)
Coredateereglibxmlopensslpcresqlite3zlibctypecurldomfileinfofilterftphashiconvjsonmbstringSPLPDOsessionposixreadlineReflectionstandardSimpleXMLpdo_sqlitePhartokenizerxmlxmlreaderxmlwritermysqlndcgi-fcgigdmcryptmysqlmysqlipdo_mysqlmhash$_SERVER
PHP_EXTRA_CONFIGURE_ARGSstring(77) "--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi"HOSTNAMEstring(9) "php56-fpm"PHP_INI_DIRstring(18) "/usr/local/etc/php"HOMEstring(8) "/var/www"PHP_LDFLAGSstring(34) "-Wl,-O1 -Wl,--hash-style=both -pie"PHP_CFLAGSstring(40) "-fstack-protector-strong -fpic -fpie -O2"PHP_MD5string(0) ""PHP_VERSIONstring(6) "5.6.40"GPG_KEYSstring(81) "0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3"PHP_CPPFLAGSstring(40) "-fstack-protector-strong -fpic -fpie -O2"PHP_ASC_URLstring(65) "https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror"PHP_URLstring(61) "https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror"PATHstring(60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"PHPIZE_DEPSstring(76) "autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c"PWDstring(13) "/var/www/html"PHP_SHA256string(64) "1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c"USERstring(8) "www-data"FCGI_ROLEstring(9) "RESPONDER"REDIRECT_STATUSstring(3) "200"proxy-nokeepalivestring(1) "1"HTTP_HOSTstring(15) "samobranka.info"HTTP_X_FORWARDED_FORstring(30) "216.73.216.165, 216.73.216.165"HTTP_X_FORWARDED_PROTOstring(4) "http"HTTP_X_REAL_IPstring(14) "216.73.216.165"HTTP_CONNECTIONstring(5) "close"HTTP_CF_RAYstring(20) "9e0b68e78ac7dfff-CMH"HTTP_ACCEPTstring(3) "*/*"HTTP_ACCEPT_ENCODINGstring(8) "gzip, br"HTTP_USER_AGENTHTTP_CDN_LOOPstring(19) "cloudflare; loops=1"HTTP_CF_CONNECTING_IPstring(14) "216.73.216.165"HTTP_CF_IPCOUNTRYstring(2) "US"HTTP_CF_VISITORstring(18) "{"scheme":"https"}"SERVER_SIGNATUREstring(76) "<address>Apache/2.4.65 (Debian) Server at samobranka.info Port 80</address> "SERVER_SOFTWAREstring(22) "Apache/2.4.65 (Debian)"SERVER_NAMEstring(15) "samobranka.info"SERVER_ADDRstring(12) "172.20.20.10"SERVER_PORTstring(2) "80"REMOTE_ADDRstring(12) "172.20.20.16"DOCUMENT_ROOTstring(57) "/var/www/jecka/samobranka.info/samobranka_app/public_html"REQUEST_SCHEMEstring(4) "http"CONTEXT_PREFIXstring(0) ""CONTEXT_DOCUMENT_ROOTstring(57) "/var/www/jecka/samobranka.info/samobranka_app/public_html"SERVER_ADMINstring(18) "[no address given]"SCRIPT_FILENAMEstring(67) "/var/www/jecka/samobranka.info/samobranka_app/public_html/index.php"REMOTE_PORTstring(5) "36628"REDIRECT_URLstring(33) "/recipe/username: @krakenssitebot"GATEWAY_INTERFACEstring(7) "CGI/1.1"SERVER_PROTOCOLstring(8) "HTTP/1.0"REQUEST_METHODstring(3) "GET"QUERY_STRINGstring(0) ""REQUEST_URIstring(35) "/recipe/username:%20@krakenssitebot"SCRIPT_NAMEstring(10) "/index.php"PHP_SELFstring(10) "/index.php"REQUEST_TIME_FLOATREQUEST_TIMEargvarray(0)argc